package com.neisha.job;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import com.neisha.kit.JobKit;

public class SendJob implements Job{

	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		/*String jobKey = context.getJobDetail().getKey().getName();
		String res = JobKit.executeUrl(Content.HOST+api,jobKey);
		logger.info("半小时执行一次任务执行结果："+res);*/
		String jobKey = context.getJobDetail().getKey().getName();
		JobKit.count(jobKey);
		
		System.out.println("一秒执行一次的测试任务。");
	}

}
